package com.lsk.mps.backend.service;

import com.lsk.mps.backend.model.Message;
import com.lsk.mps.backend.model.MessageConfirm;
import com.lsk.mps.backend.model.User;

import java.util.List;

public interface MessageService {
    void publishMessage(String title, String content, String type, Boolean needConfirm);
    void confirmMessage(Integer targetID, String content);
    List<Message> allMessages(Integer page);
    Integer messagePages();

    List<MessageConfirm> queryMessageConfirms(Integer targetID, Integer page);
    Integer messageConfirmsPages(Integer targetID);
    List<User> notConfirmedUsers(Integer targetID);
}
